package com.topc.code.service.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.topc.base.constant.RedisConstant;
import com.topc.base.exception.Asserts;
import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.base.utils.PageUtils;
import com.topc.code.mapper.ProblemInfoMapper;
import com.topc.code.repository.ProblemSampleCollectRepositoryRepository;
import com.topc.code.service.IProblemInfoService;
import com.topc.core.po.BaseEntity;
import com.topc.core.po.ProblemDoCount;
import com.topc.core.sevice.RedisService;
import com.topc.problem.model.dto.QueryProblemInfoDto;
import com.topc.problem.model.dto.SaveProblemDto;
import com.topc.problem.model.po.ProblemInfo;
import com.topc.problem.model.po.ProblemSample;
import com.topc.problem.model.po.ProblemSampleCollect;
import com.topc.problem.model.po.ProblemTag;
import com.topc.problem.model.vo.ProblemDetailVo;
import com.topc.problem.model.vo.ProblemPageShowVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;

@Service
public class ProblemInfoServiceImpl extends ServiceImpl<ProblemInfoMapper, ProblemInfo> implements IProblemInfoService {
}
